package com.ibm.psbc.cloud;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
	// @DubboReference(tag = "DUS2")
	@Autowired
	UserService userService;
	@GetMapping("/hello/{user}")
	public String hello(@PathVariable String user) {
		return userService.hello(user);
	}
}
